/**
 * Created by bethinner on 5/17/16.
 */
import React, { Component } from 'react';

import { connect } from 'react-redux'
import Link from 'react-router/lib/Link'
import browserHistory from 'react-router/lib/browserHistory'


export default class TitleWithContent extends Component{
    constructor(props){
        super(props);

    }

    componentWillMount(){

    }

    render(){
        return(
            <div   style={{fontSize:"16px",
                                marginLeft:"18px",
                                fontWeight:"5",
                                color:""}} >
                   <span style={{fontSize:"16px",
                                fontWeight:"normal"}}>
                       {this.props.title}
                    </span>
                <span dangerouslySetInnerHTML={{__html: this.props.content}}>

                </span>
                <br/>
                <br/>
                <br/>
            </div>

        )
    }
}

TitleWithContent.defaultProps = {
    title:"title",
    content:"content"

}

TitleWithContent.propTypes = {
    title:React.PropTypes.string,
    content:React.PropTypes.string,
}


